package com.hui.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(
        value = "YxStoreProductReplyQueryVo对象",
        description = "评论表查询返回数据"
)
@Data
public class StoreProductReplyQueryVo implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("评论ID")
    private Long id;
    @ApiModelProperty("产品id")
    private Long productId;
    @ApiModelProperty("某种商品类型(普通商品、秒杀商品）")
    private String replyType;
    @ApiModelProperty("商品分数")
    private Integer productScore;
    @ApiModelProperty("服务分数")
    private Integer serviceScore;
    @ApiModelProperty("评论内容")
    private String comment;
    @ApiModelProperty("评论图片")
    private String[] pics;
    private String pictures;
    private String[] picturesArr;
    @ApiModelProperty("管理员回复内容")
    private String merchantReplyContent;
    @ApiModelProperty("管理员回复时间")
    private Date merchantReplyTime;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss",
            timezone = "GMT+8"
    )
    private Date createTime;
    @ApiModelProperty("评价星星数")
    private String star;
    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("商品sku")
    private String sku;
    @JsonIgnore
    private String cartInfo;
}
